﻿using CommonUtils;

namespace ControllerGenerator.Structs
{
    internal class Field
    {
        public string Name { get; set; }
        public string LowerFirst { get { return Name.LowerFirst(); } }
        public string Type { get; set; }
        public string Schame { get; set; }
        public string Comment
        {
            get
            {
                if (Schame.IsEmpty())
                    return Name;
                return Schame;
            }
        }
    }
}